package com.camundademo.exception;

import lombok.Getter;

public class AppException {

    /**
     * 无法解析的jwt抛出
     */
    public class Exception4010 extends RuntimeException {

        @Getter
        private int code = 4010;

        private static final String DEFAULT_MESSAGE = "默认错误消息";

        public Exception4010(String msg) {
            super(msg);
        }

        public Exception4010() {
            super(DEFAULT_MESSAGE);
        }
    }
    
}

